package cn.shyouchi.wuguanjia.android.ui.home.security.thread.message.simplenotice;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/**
 * Created by Eenie on 2017/3/16 at 15:02
 * Email: 472279981@qq.com
 * Des:
 */

public class SampleNotice extends RealmObject {


    public static final String NOTICE_FIELD_TIME = "time";
    public static final String NOTICE_FIELD_TITLE = "title";
    public static final String NOTICE_FIELD_CONTENT = "content";
    public static final String NOTICE_FIELD_READ = "readed";





    @PrimaryKey
    private long time;
    private String title;
    private String content;
    private boolean readed;
    private int key;

    public int getKey() {
        return key;
    }

    public void setKey(int key) {
        this.key = key;
    }

    public SampleNotice() {

    }


    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public boolean isReaded() {
        return readed;
    }

    public void setReaded(boolean readed) {
        this.readed = readed;
    }
}
